Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PC-1515: Fix for loft insulation error on check answers page #416

Merged

Conversation

samyou-softwire
Copy link
Contributor

Link to Jira ticket

Description

add old copy to check_your_answers_options_map. this avoids a key not found error for old users

Checklist

  • I have made any necessary updates to the documentation
  • I have checked there are no unnecessary IDE warnings in this PR
  • I have checked there are no unintentional line ending changes
  • I have added tests where applicable
  • If I have made any changes to the code, I have used the IDE auto-formatter on it
  • If I have made any changes to Python files (even if not changing any content strings), I have run make extract-translations
  • If I have made any changes to website flow, I have updated the Flow Miro Board
  • If I have made any changes to website flow, I have checked forward and back behaviour is still consistent

@@ -489,6 +492,7 @@
loft_insulation_field_no_insulation: _("I have no loft insulation"),
loft_insulation_field_dont_know: _("I do not know"),
loft_insulation_field_no_loft: _("No loft"),
"I have up to 100mm of loft insulation": _("I have less than or equal to 100mm of loft insulation"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think put the comment on top of here and add a blank line if the formatter allows it - would more clearly delineate between real answers and the ones kept for backwards-compatibility

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather keep the main comment on the map as it applies to all pages in general, have added one to this line too. no newline allowed alas

@samyou-softwire samyou-softwire force-pushed the PC-1515-loft-insulation-error-on-check-answers-page branch from 199e124 to 3e577f4 Compare December 19, 2024 12:29
@samyou-softwire samyou-softwire merged commit 1cfb516 into develop Dec 20, 2024
4 checks passed
@samyou-softwire samyou-softwire deleted the PC-1515-loft-insulation-error-on-check-answers-page branch December 20, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants